Add docs for methods that were moved to RepoExtManual
authorFelix Krull <f_krull@gmx.de>
Tue, 21 May 2019 18:27:03 +0000 (20:27 +0200)
committerColin Walters <walters@verbum.org>
Fri, 6 May 2022 16:53:53 +0000 (12:53 -0400)
rust-bindings/rust/Makefile

index 5108e84ba98b20b97143d700f1c8bb23e3fcdcce..9bfd90197f8bdf05f368b2405ec0e2f91acba4c8 100644 (file)
@@ -18,6 +18,9 @@ target/tools/bin/rustdoc-stripper:
 
 merge-lgpl-docs: target/tools/bin/gir target/tools/bin/rustdoc-stripper
        target/tools/bin/gir -c conf/ostree.toml -m doc
+       for sym in list_refs list_refs_ext traverse_commit; do \
+               sed -e "s/<!-- impl Repo::fn $$sym -->/<!-- trait RepoExtManual::fn $$sym -->/" -i target/vendor.md; \
+       done
        target/tools/bin/rustdoc-stripper -g -o target/vendor.md
 
 
@@ -39,5 +42,5 @@ gir-files:
        curl -o $@ -L https://github.com/gtk-rs/gir-files/raw/master/${@F}
 
 gir-files/OSTree-1.0.gir:
-       echo TODO
+       echo Best to build libostree with all features and use that
        exit 1